Skip to content

fix(neutron): refuse a Palo Alto HA pair on two different VLANs - #2788

Merged
cardoe merged 1 commit into
mainfrom
palo-alto-ha-same-vlan
Nov 23, 2026
Merged

cardoe merged 1 commit into
mainfrom
palo-alto-ha-same-vlan

Conversation

@nidzrai

@nidzrai nidzrai commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

The secondary's subport takes the network's fabric_vlan over the primary's VLAN, so a fabric_vlan set while wiring left the units on different tags and attach_port still reported success. Compare the two and fail with a conflict; the attach's undo then removes the wiring and a retry puts both on one VLAN.

What does this change do?

Upgrade impact

  • This change requires operator action to upgrade. If checked, add the
    upgrade-impact label and a release note: run scriv create from the
    repository root and describe the required action in the generated
    changelog.d/ file. See RELEASING.md.

Operator action means anything a deployment has to do beyond a normal resync:
deploy repo or values changes, new or removed secrets, enabling or disabling a
component, or a manual one-time step.

The secondary's subport takes the network's fabric_vlan over the primary's VLAN, so a fabric_vlan set while wiring left the units on different tags and attach_port still reported success. Compare the two and fail with a conflict; the attach's undo then removes the wiring and a retry puts both on one VLAN.
@github-actions

Copy link
Copy Markdown

Python test results

596 tests  +453   591 ✅ +448   1m 17s ⏱️ + 1m 12s
  1 suites ±  0     5 💤 +  5 
  1 files   ±  0     0 ❌ ±  0 

Results for commit 7dfb6df. ± Comparison against base commit 53f8b06.

This pull request removes 143 and adds 596 tests. Note that renamed tests count towards both.
ironic_understack.tests.test_device_type ‑ test_device_type_from_directory
ironic_understack.tests.test_device_type ‑ test_device_type_from_yaml
ironic_understack.tests.test_device_type ‑ test_device_type_minimal_yaml
ironic_understack.tests.test_device_type ‑ test_get_resource_class
ironic_understack.tests.test_inspect_hook_chassis_model ‑ test_preserves_other_custom_traits
ironic_understack.tests.test_inspect_hook_chassis_model ‑ test_replaces_stale_chassis_trait
ironic_understack.tests.test_inspect_hook_node_name_check.TestInspectHookNodeNameCheck ‑ test_empty_system_vendor
ironic_understack.tests.test_inspect_hook_node_name_check.TestInspectHookNodeNameCheck ‑ test_matching_name_passes
ironic_understack.tests.test_inspect_hook_node_name_check.TestInspectHookNodeNameCheck ‑ test_mismatched_name_raises
ironic_understack.tests.test_inspect_hook_node_name_check.TestInspectHookNodeNameCheck ‑ test_missing_manufacturer_raises
…
neutron_understack.tests.scenarios.test_baremetal_binding.TestBaremetalBinding ‑ test_baremetal_vif_attach_binds_hierarchically
neutron_understack.tests.scenarios.test_baremetal_binding.TestBaremetalBinding ‑ test_delete_keeps_segment_still_in_use
neutron_understack.tests.scenarios.test_baremetal_binding.TestBaremetalBinding ‑ test_port_delete_releases_dynamic_vlan_segment
neutron_understack.tests.scenarios.test_baremetal_binding.TestBaremetalBinding ‑ test_provisioning_network_delete_releases_unused_segment
neutron_understack.tests.scenarios.test_baremetal_binding.TestBaremetalBinding ‑ test_provisioning_network_port_binds
neutron_understack.tests.scenarios.test_baremetal_binding.TestBaremetalBinding ‑ test_second_port_same_physnet_reuses_dynamic_segment
neutron_understack.tests.scenarios.test_baremetal_binding.TestBaremetalBinding ‑ test_unsupported_vnic_type_is_not_bound_by_us
neutron_understack.tests.scenarios.test_baremetal_binding.TestBaremetalBinding ‑ test_vif_attach_without_ip_still_syncs
neutron_understack.tests.scenarios.test_baremetal_binding.TestBaremetalBinding ‑ test_vif_attach_without_physical_network_refuses_binding
neutron_understack.tests.scenarios.test_baremetal_binding.TestBaremetalBinding ‑ test_vif_detach_releases_segment_and_reconciles
…

@cardoe
cardoe added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 4a9af12 Nov 23, 2026
90 of 91 checks passed
@cardoe
cardoe deleted the palo-alto-ha-same-vlan branch November 23, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants